//
//  YSVoucher.h
//  Yueshi
//
//  Created by Northwan on 15/9/24.
//  Copyright © 2015年 悦食中国. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YSVoucher : NSObject
@property (assign, nonatomic) NSInteger voucherId;
@property (assign, nonatomic) NSInteger amount;
@property (assign, nonatomic) BOOL isPast;
@property (copy, nonatomic) NSString *effactiveTime;
@property (copy, nonatomic) NSString *useCondition;
@property (assign, nonatomic) NSInteger useAmount;

/*
 voucherId: 3561,//代金卷id
 amount: 10,// 减去金额
 isPast: 0,//是否过期 0否 1 是
 effactiveTime: "2015-10-13 16:06:43",//有效期
 useCondition: "满100元是用",// 描述
 useAmount: 100 //满足条件
 */
@end
